import { getHomeCategory } from '@/apis/index'

export async function loader() {
  const res = await getHomeCategory();
  return {
    tabs: res.data.data.cat,
    tags: res.data.data.tags.fa22bf77a31700498f707fc3b9d86dff,
    goods: res.data.data.goodsArr
  };
}